@import "var.scss";

.home {
  margin-top: $header-height - 10px;
  .songListTitle{
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    background-color: white;
    height: 60px;
    padding-top: 10px;
    font-weight: 500;
  }
  .songListContent{
    background-color: white;
    color: #333;
    display: flex;
    padding: 50px 0;
    padding-top: 100px;
    .rightSongList{
      flex: auto;
      margin: 0 50px;
      span{
        display: inline-block;
        line-height: 60px;
        font-size: 18px;
        cursor: pointer;
        text-align: center;
        width: 60px;
      }
      .spanActive{
        color: $color-blue;
      }
      .content{
        height: 440px;
        background-color: #e6ecf080;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-content: space-around;
        .songListItem{
          width: 500px;
          height: 100px;
          display: flex;
          transition: all 0.3s ease-in-out;
          position: relative;
          cursor: pointer;
          .img{
            border-radius: 10px;
            overflow: hidden;
            margin-right: 15px;
            img{
              width: 100px;
              height: 100px;
            }
          }
          .info{
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            p{
              width: 370px;
              display: inline-block;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space:nowrap;
              cursor: default;
            }
            .count{
              position: absolute;
              right: 0;
              top: 0;
              font-size: 16px;
              color: #999;
              margin-right: 5px;
              margin-top: 5px;
              >.icon{
                fill: currentColor;
                width: 14px;
                height: 14px;
                margin-right: 2px;
              }
            }
          }
          &:hover{
            background-color: #e6ecf0;
          }
        }
      }
    }
    .leftPic{
      flex-shrink: 0;
      width: 370px;
      border-radius: 10px;
      margin-left: 50px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      img{
        width: 350px;
        height: 500px;
        border: 10px solid black;
        border-image: linear-gradient(to right bottom, #fff, $color-blue,white) 10;
      }
      &:hover .bg{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #33333388;
        transition: all 0.3s ease-in-out;
      }
      .all{
        display: none;
      }
      .slicon{
        display: none;
        >.icon{
          color: $color-blue;
          fill: currentColor;
        }
      }
      &:hover .all{
        display: inline-block;
        width: 220px;
        text-align: center;
        // font-weight: bold;
        line-height: 100px;
        font-size: 40px;
        color: white;
        position: absolute;
        right: 0;
        bottom: 0;
        transition: all 0.3s ease-in-out;
      }
      &:hover .slicon{
        display: inline-block;
        text-align: center;
        font-size: 20px;
        position: absolute;
        left: 10%;
        bottom: 40%;
        // transform: translate(-50% -50%);
        transition: all 0.3s ease-in-out;
        opacity: 0.8;
      }
    }
  }
  .section {
    width: 100%;
    padding:  0 70px 50px 70px;
    background-color: $color-white;
    box-sizing: border-box;
    .section-title {
      height: 120px;
      line-height: 120px;
      padding-top: 10px;
      font-size: 32px;
      font-weight: 500;
      text-align: center;
      color: $color-black;
      box-sizing: border-box;
    }
  }
}
